package com.vehicle.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-05-18
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="Menu对象", description="")
public class Menu implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "页面id")
        @TableId(value = "mid", type = IdType.AUTO)
      private Integer mid;

      @ApiModelProperty(value = "页面路径")
      private String path;

      @ApiModelProperty(value = "菜单名")
      private String name;

      @ApiModelProperty(value = "菜单图标")
      private String icon;

      @ApiModelProperty(value = "菜单组件")
      private String component;

      @ApiModelProperty(value = "父级导航id,0为1级")
      private Integer pid;

      @ApiModelProperty(value = "'菜单状态（0显示 1隐藏）'")
      private Integer hidden;

    @TableLogic
    private Integer deleted;

      @ApiModelProperty(value = "排序id")
      private Integer orderId;


}
